var status = -1;
var selectionLog = [];

function start() {
    action(1, 0, 0)
}

function action(d, c, b) {
    if (status == 0 && d == 0) {
        cm.dispose();
        return
    }
    status++;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status === a++) {
            cm.updateInfoQuest(7851, "eNum=2;lastDate=20/01/30");
            cm.setSessionValue("Akayrum_firstIn", "1");
            cm.setSessionValue("Akayrum_startingTime", "20/01/30/12/46");
            cm.npc_ChangeController(2144021, "oid=3042935", 320, -190, 9, 270, 370, 1, false, 0, false);
            cm.npc_SetSpecialAction("oid=3042935", "summon", 0, 0);
            cm.effect_Voice("Voice.img/akayrum/2", 100);
            cm.getMap().startSimpleMapEffect("分不清勇气和蛮勇的人，不怕死的话，就来吧，呵呵。", 5120056);
            cm.dispose()
        }
    }
};